package cn.itsource.system.service;

import cn.itsource.base.service.IBaseService;
import cn.itsource.base.util.AjaxResult;
import cn.itsource.base.util.PageList;
import cn.itsource.system.domain.Menu;
import cn.itsource.system.query.MenuQuery;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author zcj
 * @since 2023-11-06
 */
public interface IMenuService extends IBaseService<Menu> {
    PageList<Menu> queryPage(MenuQuery query);

    AjaxResult getMenuTree();

    List<Long> selectIds(List<Long> ids);
    List<Menu> selectMenu(List<Long> ids);

    List<Menu> getMenuTree1(List<Menu> menus);
}
